package Computer_Builder_04.Builder;
import Computer_Builder_04.AbstractBuilder.ComputerBuilder;
import Computer_Builder_04.Product.Product;

public class DesktopBuilder extends ComputerBuilder {

    public void buildCPU() {
        this.computer.setCPU("组装台式机CPU r9-9985x3d");
    }

    public void buildRAM() {
        this.computer.setRAM("组装台式机内存 32G");
    }

    public void buildHDD() {
        this.computer.setHDD("组装台式机硬盘 2T");
    }

    public void buildMonitor() {
        this.computer.setMonitor("组装台式机显示器 27寸 180hz 4K显示器");
    }

    public void buildHost() {
        this.computer.setHost("组装台式机主机 酷冷至尊主机");
    }

    public Product getComputer() {
        System.out.println("组装台式机");
        return this.computer;
    }
}
